//---------------------------------------------------------------------------- // File: Win32_Misc.h // Type: Miscellaneous definition file // Author: Ken Anderson // Date: 10/9/3 // OS dependant: Windows // // Notes: Contains structures and odd definitions that don't fit into an // organized header. // //---------------------------------------------------------------------------- //This is how we know how to deal with the window's BITMAPINFO structure //which only allocates one RGBQUAD color for our color table. typedef struct tgTRANSLATION_WINBITMAP_STRUCTURE { BITMAPINFOHEADER bi; //Bitmap Info Header RGBQUAD bmiColors[256]; //Our color table. } TWINBMPS; typedef enum tgWINDOWS_VER {WIN31, WIN95, WIN98, WINNT, WIN2K, WINME, WINXP} WinVer;